package yev.pricingserver.domain;

import java.math.BigDecimal;
import java.util.Date;

public class Price {

	private Product product;
	private BigDecimal bid;
	private BigDecimal offer;
	private Long time;
	private boolean isDisabled;
	private BigDecimal closePrice;
	private Date lastUpdated;
	
	public Price(){};
	
	
	public Price(Product productCode, BigDecimal bid, BigDecimal offer,
			Long time, boolean isDisabled, BigDecimal closePrice,
			Date lastUpdated) {
		super();
		this.product = productCode;
		this.bid = bid;
		this.offer = offer;
		this.time = time;
		this.isDisabled = isDisabled;
		this.closePrice = closePrice;
		this.lastUpdated = lastUpdated;
	}

	public Product getProduct() {
		return product;
	}


	public void setProduct(Product product) {
		this.product = product;
	}


	public BigDecimal getBid() {
		return bid;
	}
	public void setBid(BigDecimal bid) {
		this.bid = bid;
	}
	public BigDecimal getOffer() {
		return offer;
	}
	public void setOffer(BigDecimal offer) {
		this.offer = offer;
	}
	public Long getTime() {
		return time;
	}
	public void setTime(Long time) {
		this.time = time;
	}
	public boolean isDisabled() {
		return isDisabled;
	}
	public void setDisabled(boolean isDisabled) {
		this.isDisabled = isDisabled;
	}
	public BigDecimal getClosePrice() {
		return closePrice;
	}
	public void setClosePrice(BigDecimal closePrice) {
		this.closePrice = closePrice;
	}
	public Date getLastUpdated() {
		return lastUpdated;
	}
	public void setLastUpdated(Date lastUpdated) {
		this.lastUpdated = lastUpdated;
	}
	
	
}
